package com.government.member.service;

import com.government.member.domain.VipOrder;
import com.government.member.vo.VipUpgrade;

import java.math.BigDecimal;
import java.util.List;

/**
 * 会员信息Service接口
 *
 * @author system
 * @date 2023-09-18
 */
public interface VipOrderService {
    int insertVipOrder(VipOrder vipOrder);

    int updateVipOrder(VipOrder vipOrder);

    VipOrder selectVipOrderByOutTradeNo(String outTradeNo);

    VipOrder selectUnpaidVipOrderByUserId(Long userId, int vipType);

    List<VipOrder> selectOrderListByUserId(Long userId);

    VipOrder selectVipOrderById(Long orderId);

    List<VipOrder> selectUnpaidVipOrder();

    int selectOrderCountByUserId(Long userId);

//    /**
//     * 会员卡升级
//     */
//    VipUpgrade vipUpgrade();
}
